package ihis.model;


/**
 * Schedule, Progress���� �ð����� (��, ��)
 * @author yoni230
 * 아래 항목들은 UI에서 Javascript 와  JSP 에서 사용되고 있으므로 변경 시 확인해야 함 
 */
public interface IHISConstants {
	/* 리포트 종류 */
	public static final int REPORT_PERSONAL_SCHEDULE = 0;
	public static final int REPORT_PROJECT_SCHEDULE = 1;
	public static final int REPORT_PERFORMANCE = 2;
	public static final int REPORT_RISK = 3;
	
	/* 실행 결과 */
	public static final int FAIL = 0;
	public static final int SUCCESS = 1;

	
	/* Time Unit */
	public final static int TIME_UNIT_WEEKLY = 1;
	public final static int TIME_UNIT_MONTHLY = 2;
	public final static int TIME_UNIT_YEARLY = 3;
	
	/* OwnerType */
	public final static int OWNERTYPE_NONE = 0;
	public final static int OWNERTYPE_PERSON = 1;
	public final static int OWNERTYPE_TEAM = 2;
	public final static int OWNERTYPE_PROJECT = 3;
	
	/* Task List Type */
	public final static int TASK_LIST_NONE = 0; 
	public final static int TASK_LIST_IN_PROGRESS = 1;
	public final static int TASK_LIST_COMPLETED = 2;
	public final static int TASK_LIST_DELAYED = 3;
	public final static int TASK_LIST_PLANNED = 4;
	public final static int TASK_LIST_RISK = 5;
	
	/* Progress Status */
	public final static int PROGRESS_STATUS_ALL = 0;
	public final static int PROGRESS_STATUS_IN_PROGRESS = 1;
	public final static int PROGRESS_STATUS_COMPLETED = 2;
	
	public final static String STATUS_MESSAGE[] = {"모두", "진행중", "완료"};
	
	/* 추이 곡선에서 사용될 LCL/UCL 값 : 변경할 수 있다. */
	public static double LCL = 0.5;
	public static double UCL = 1.5;
	
	/* Risk 종류 */
	public final static int TASK_TODO = 0;
	public final static int RISK_DELAYED = 1;
	public final static int RISK_POTENTIAL = 2;
	
	/* Role 종류 */
	public final static int ROLE_PROJECT_MANAGER = 0;
	public final static int ROLE_TEAM_MEMBER = 1;
	public final static int ROLE_GUEST = 2;
}
